package org.adream.account.entity;

/**
 * 积分明细
 * @author sl
 *
 */
public class IntegralHistoryEntity extends PubClass {
	
	private static final long serialVersionUID = 7381292167720697642L;

	private String ihid;
	
	private String uid;
	
	private UserEntity user;
	
	private int oldIntegral;
	
	private int newIntegral;
	
	//积分增减数数 大于0为增加,小于0为减少
	private int increaseIntegral;
	
	//积分变动类型
	private int itid;
	
	private IntegralTypeEntity integralType;
	
	//增减积分内容
	private String comment;
	
	//操作者
	private UserEntity operator;
	
	public String getIhid() {
		return ihid;
	}

	public void setIhid(String ihid) {
		this.ihid = ihid;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public UserEntity getUser() {
		return user;
	}

	public void setUser(UserEntity user) {
		this.user = user;
	}

	public int getOldIntegral() {
		return oldIntegral;
	}

	public void setOldIntegral(int oldIntegral) {
		this.oldIntegral = oldIntegral;
	}

	public int getNewIntegral() {
		return newIntegral;
	}

	public void setNewIntegral(int newIntegral) {
		this.newIntegral = newIntegral;
	}

	public int getIncreaseIntegral() {
		return increaseIntegral;
	}

	public void setIncreaseIntegral(int increaseIntegral) {
		this.increaseIntegral = increaseIntegral;
	}

	public int getItid() {
		return itid;
	}

	public void setItid(int itid) {
		this.itid = itid;
	}

	public IntegralTypeEntity getIntegralType() {
		return integralType;
	}

	public void setIntegralType(IntegralTypeEntity integralType) {
		this.integralType = integralType;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public UserEntity getOperator() {
		return operator;
	}

	public void setOperator(UserEntity operator) {
		this.operator = operator;
	}

	@Override
	public String getTable() {
		return "acc_user_integral_history";
	}
}